home *** CD-ROM | disk | FTP | other *** search
-
-
-
- DDDDIIIISSSS((((1111)))) DDDDIIIISSSS((((1111))))
-
-
-
- NNNNAAAAMMMMEEEE
- dis - disassemble an object file
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- ddddiiiissss [ options ] file
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- _d_i_s disassembles object files into machine instructions. The options are
- as follows:
-
- ----bbbb _b_e_g_i_n_a_d_d_r_e_s_s
- disassemble starting at the given address. The address can be
- in decimal, octal (with a leading 0), or hexadecimal (with a
- leading 0x).
-
- ----dddd sssseeeeccccttttiiiioooonnnn
- disassemble the named section as data, printing the offset from
- the beginning of the section.
-
- ----CCCC demangle C++ names.
-
- ----DDDD _s_e_c_t_i_o_n
- disassemble the named section as data, printing the actual
- address of the data.
-
- ----eeee _e_n_d_a_d_d_r_e_s_s
- disassembly stops at the given address. The address can be in
- decimal, octal (with a leading 0), or hexadecimal (with a
- leading 0x).
-
- ----FFFF _f_u_n_c_t_i_o_n
- disassemble the named function only in each object file
- specified on the command line. This option may be specified
- multiple times on the command line.
-
- ----ffff prefixes the line number on disassembly lines with the source
- file basename.
-
- ----hhhh substitute the general register names for the software register
- names in the output.
-
- ----HHHH remove the leading source line, leaving hex value and the
- instructions.
-
- ----iiii remove the leading source line and hexadecimal value of
- disassembly, leaving only the instructions.
-
- ----IIII _d_i_r_e_c_t_o_r_y
- use the _d_i_r_e_c_t_o_r_y to help find the source code.
-
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- DDDDIIIISSSS((((1111)))) DDDDIIIISSSS((((1111))))
-
-
-
- ----llll _s_t_r_i_n_g
- disassemble the archive file specified by _s_t_r_i_n_g. For example,
- ddddiiiissss ----llll xxxx would add _u_s_r/_l_i_b/_l_i_b_x._a to the files to be
- disassembled.
-
- ----LLLL look up source labels for subsequent printing. This option
- works only if the file was compiled with debugging information.
-
- ----oooo print addresses and contents in octal. The default is
- hexadecimal.
-
- ----pppp ffffuuuunnnnccccttttiiiioooonnnn
- Exactly the same meaning as _----_FFFF _f_u_n_c_t_i_o_n
-
- ----ppppiiiixxxxiiiieeee For pixie(1)d files, display original and pixified instructions
- intermixed with source. This is the default with pixified
- files, so this option is unnecessary and obsolete and will
- eventually be removed.
-
- ----ssss Attempts to print j, jal target names. Not very relevant since
- with PIC code j, jal are little used. This is the default
- unless the ----ssssvvvvrrrr4444 option is given.
-
- ----ssssvvvvrrrr4444 Print using svr4 output format. This means (if no other options
- given) no externals are named (when loading data off of the $gp
- register).
-
- ----SSSS display source code intermixed with the assembly code. There is
- no guarantee that the source code displayed is the source code
- used to compile the function, since _d_i_s simply looks for a
- source file starting with name/path given in the object and
- continuing by looking in directories specified with -_I (if any)
- and accepts the first appropriately-named file it finds as the
- source file. If ----SSSS is repeated on the command line _d_i_s will, in
- addition, name the source file involved (with whatever path was
- used to acess the file), as in the example "Skipping source
- listing to line 10 of /b/t.c...".
-
- ----TTTT trace flag is for debugging of the disassembler itself.
-
- ----tttt _s_e_c_t_i_o_n
- disassemble the named section as a text section.
-
- ----vvvv attempts to print the names of inlined functions where the
- function is inlined. The information about inlines is not
- always present in the debug information, so this option will not
- always produce the inlined function names.
-
- ----VVVV print the version of _d_i_s being executed.
-
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-
-
-
- DDDDIIIISSSS((((1111)))) DDDDIIIISSSS((((1111))))
-
-
-
- ----wwww attempts to print source information (names of user variables
- involved) after (to the right of) assembly codes. This option
- comes into effect only if -_s is also specified, but does not
- imply -_s. (But recall from above that -s is on by default
- unless -svr4 is specified, so -w is effective by itself unless
- -svr4 was specified.)
-
- ----xxxx prints offsets and constants in instructions as hex numbers.
- The default is to print instruction offsets and constants as
- decimal.
-
- If the ----dddd, ----DDDD or ----tttt options are specified, only those named sections from
- each user-supplied filename will be disassembled. Otherwise, all
- sections containing text will be disassembled.
-
- FFFFIIIILLLLEEEESSSS
- /usr/bin/dis
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 3333
-
-
-
-